<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<style type="text/css">
html {
	height: 100%
}

body {
	height: 100%;
	margin: 0px;
	padding: 0px
}

#map_canvas {
	height: 100%
}
</style>
<script type="text/javascript" src="https://maps-api-ssl.google.com/maps/api/js?v=3&sensor=false">
	
</script>
<script type="text/javascript">
	function initialize(latitude, longitude) {
		var path = '<%=request.getContextPath()%>';
		var latlng = new google.maps.LatLng(latitude, longitude);
		var myOptions = {
			zoom : 15,
			center : latlng,
			disableDefaultUI : true,
			mapTypeId : google.maps.MapTypeId.ROADMAP
		};
		var map = new google.maps.Map(document.getElementById("map_canvas"),
				myOptions);

		var image = path+'/images/iconmarka.png';
		var beachMarker = new google.maps.Marker({
			position : latlng,
			map : map,
			icon : image
		});
	}
</script>
</head>
<body onload="initialize(${lat},${lon})">
	<div id="map_canvas" style="width: 100%; height: 100%"></div>
</body>
</html>